<?php
namespace PsiFramework\Classes\Util\Database\Query;

import("Classes.Util.Database.Query.SqlJoinClause");

use \PsiFramework\Classes\Util\Database\Query\SqlJoinClause;

/**
 * PsiFramework
 * Php Simple Framework
 *
 * @author Rémi San
 * @version beta
 */

/**
 * The SqlUsing class allows to represent a sql join using clause
 *
 * @package classes.util.xpersist.sql
 */
class SqlUsing extends SqlJoinClause
{

    protected /*string[]*/ $_identifiers ;

    public function __construct(/*string[]*/ $identifiers = array())
    {
        $this->_identifiers = $identifiers ;
    }

    public function addIdentifier(/*string*/ $identifier)
    {
        $this->_identifiers[] = $identifier ;
    }

    public function getIdentifiers()
    {
        return $this->_identifiers ;
    }

    public function setIdentifiers(/*string[]*/ $identifiers)
    {
        $this->_identifiers =  $identifiers;
    }
}

